package org.bigmarketapi.projectreview.DesingMode.strategyMode;

import org.springframework.stereotype.Service;

/**
 * @BelongsProject: ProjectReview
 * @BelongsPackage: org.bigmarketapi.projectreview.DesingMode.strategyMode
 * @Author: dujiaqi
 * @CreateTime: 2024-08-13  14:47
 * @Description: TODO
 * @Version: 1.0
 */
@Service
public abstract class abstractLogicChain  implements  ILogicChain{
    ILogicChain next;
    @Override
    public ILogicChain next() {
       return this.next;
    }

    @Override
    public ILogicChain appendNext(ILogicChain logicChain) {
        this.next=logicChain;
        return next();
    }
}
